﻿<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             x:Class="SoftSource.Timecard.Entry.Views.MainView"
             mc:Ignorable="d"
             d:DesignWidth="706"
             d:DesignHeight="334">
    <Grid x:Name="LayoutRoot">
        <controls:TabControl BorderBrush="#7F999999"
                             Style="{StaticResource TimecardTabControlStyle}"
                             Margin="0,4,0,0">
            <controls:TabItem x:Name="summaryTab"
                              Header="summary"
                              Visibility="{Binding CreateSummaryView, Converter={StaticResource ObjectToVisibilityConverter}}"
                              Style="{StaticResource TimecardTabItemStyle}"
                              Padding="16,3,16,2">
                <Border x:Name="SummaryContent" />
            </controls:TabItem>
            <controls:TabItem x:Name="entriesTab"
                              Header="entries"
                              Visibility="{Binding CreateEntryView, Converter={StaticResource ObjectToVisibilityConverter}}"
                              Style="{StaticResource TimecardTabItemStyle}"
                              Padding="16,3,16,2"
                              IsSelected="True">
                <Border x:Name="EntriesContent" />
            </controls:TabItem>
        </controls:TabControl>
    </Grid>
</UserControl>